<?php
/*=============================================================================
|| ##################################################################
||	phpFoX Konsort
|| ##################################################################
||	
||	Copyright		: (C) 2005-2007 PHPFOX Limited a Reality Fox Creation
||	Contact			: info@phpfox.com
||
||	- phpFoX and all of its source code and files are protected by Copyright Laws. 
||
||	- The license for phpFoX permits you to install this software on a single domain (.com, .org, .net, etc.). 
||
||	- You may also not remove this copyright screen which shows the copyright information and credits for phpFoX (RealityFOX Creations). 
||
||	- phpFoX Konsort is NOT a FREE software - http://www.phpfox.com/license/
||
|| ##################################################################
=============================================================================*/

/* $File: ./include/settings/url.sett.php, $Author:  $ */

/**
 * Site urls map.
 * @package config
 */

global $_URL;   //URL direct mapping
global $_RURL;  //URL reverse mapping patterns

$_URL['public.user.gallery']   = $_CONF['url'].'user/{$name}/gallery';
$_URL['public.user.blogs']     = $_CONF['url'].'user/{$name}/blogs';
$_URL['public.user.guestbook'] = $_CONF['url'].'user/{$name}/guestbook';
$_URL['public.user.friends']   = $_CONF['url'].'user/{$name}/friends';
$_URL['public.user.favorites'] = $_CONF['url'].'user/{$name}/favorites';
$_URL['public.user.videos'] = $_CONF['url'].'user/{$name}/videos';
$_URL['public.user']           = $_CONF['url'].'{$name}';

$_URL['public.rss']            = $_CONF['url'].'public/rss/';

$_RURL['|/index.php/public/user/([^/]+)$|']         = '/index.php/public/user/name_$1';
$_RURL['|/index.php/public/user/([^/]+)/([^/]+)$|'] = '/index.php/public/user/$2/name_$1';

?>